if (isClass(configFile>>"CfgPatches">>"ace_main")) then {
	if (player call ACE_fnc_hasRadio) then {true;} else {false;};
} else {
	// Thanks Sickboy
	private ["_hasRadio"];
	_hasRadio = false;
	{
		if (getText(configFile >> "CfgWeapons" >> _x >> "simulation") == "ItemRadio") exitWith { _hasRadio = true };
	} forEach (assigneditems player);
	if(_hasRadio) then {true} else {(captive player || !alive player);};
};